<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <META http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>View Source App</title>
  <link link href="_/css/grids-min.css" rel="stylesheet" type="text/css" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
  <link link href="_/css/v3.css" rel="stylesheet" type="text/css" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
  <link link href="_/css/downloads.css" rel="stylesheet" type="text/css" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
  <link href='https://fonts.googleapis.com/css?family=Exo:700,700italic|Average' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="_/css/mystyle.css">
  <script type="text/javascript" src="_/js/jquery-1.8.2.min.js"></script>
  <script type="text/javascript" src="_/js/myscript.js"></script>
</head>
<body>
<div id="fb-root"></div>
    <script src="http://connect.facebook.net/en_US/all.js"></script>
<?php
    require_once("config.php");
?>
    
    <script>
      FB.init({
        appId  : $app_id,
        frictionlessRequests: true
      });



      function sendRequestViaMultiFriendSelector() {
        FB.ui({method: 'apprequests',
          message: 'Sign up for a chance to play the Online Token Sharing Game and get rewarded with real money. This is a field study conducted by researchers from University of Minnesota  conducting a field experiment on ...'
        }, requestCallback);
      }
      
      function requestCallback(response) {
        // Handle callback here
      }
    </script>
    <div id="doc" style="width:700px; padding-left:0px; margin-left:0px"> 
	   <div id="bd">
	   		<div id="yui-main"> 
				<div class="yui-b">
					<div class="yui-g">
						<div class="pageHeading" style="padding:0px 0px 15px 0px;">Online Token Sharing Game</div>
						<div id="registered">
							<div class="sectionHeading">Registered !!!</div>
							<div class="sectionBodyText">
								<p class="font4">You have already registered to play the game. Please check you email and proceed following the link. If you haven't received an email yet please wait. We are finding somebody to play with you. You will receive a mail once we pair you with somebody. Thanks !!! </p>
								<p class="font4">Want to know how to play this game? <a href="javascript:void(0)" onclick = "javascript:window.open('help.php', 'help')">Click Here</a></p>
							</div>
						</div>
						<div class="sectionHeading">Invite Friends</div>
						<div style="padding:0px 0px 15px 0px;">
							<p class="font4">You can invite your friends in two ways. <a href="javascript:sendRequestViaMultiFriendSelector();">Click here</a> to invite them through Facebook or you can copy/paste the following text into an email and send it to your friends</p>
							<!--div class="font4"><strong><a href="javascript:sendRequestViaMultiFriendSelector();">Add New Friends</a></strong></div-->
							<p class="font4">Sign up for a chance to play the Online Token Sharing Game and get rewarded with real money. This is an approved field study conducted by researcher from University of Minnesota . If you want to play click on http://apps.facebook.com/jmj_testa/</p>
							<p class="font4">If you have any questions feel free to contact the researchers at  <a href="mailto:rbapna@umn.edu">rbapna@umn.edu</a>.</p>
						</div>
					</div>
				</div>
	   		</div> 
	   </div>  
</div>
</body>

</html>
